//
// Created by Administrator on 2020/11/3.
//
#include <iostream>
#include <ctime>
#include "DenseGraph.h"
#include "SparseGraph.h"
#include "ReadGraph.h"

int main(){
    string filename = "testG2.txt";
    // G1是有13个顶点的无向图
    SparseGraph g1(6, false);
    ReadGraph<SparseGraph> readGraph1(g1, filename);
    g1.show();

    cout << endl;

    DenseGraph g2(6, false);
    ReadGraph<DenseGraph> readGraph2(g2, filename);
    g2.show();

    return 0;
}